package com.xyoto.takeawayBusiness.vo;

import com.xyoto.takeawayBusiness.entity.ShoppingAttribute;
import com.xyoto.takeawayBusiness.po.ShoppingGoodPO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @ClassName: 商品详情展示Vo
 * @Author: 挽风
 * @Date: 2022
 * @Copyright: 2022 by 挽风
 * @Description:
 **/

@Data
@ApiModel("ShoppingVo")
public class ShoppingVO {

    @ApiModelProperty("商品id")
    private Integer id;

    @ApiModelProperty("商品类别id")
    private Integer shoppingTypeId;

    @ApiModelProperty("商品类别名称")
    private String shoppingTypeName;

    @ApiModelProperty("商铺id")
    private Integer shopId;

    @ApiModelProperty("商品名称")
    private String shoppingName;

    @ApiModelProperty("商品销量（默认为0）")
    private Integer shoppingSales;

    @ApiModelProperty("规格状态（1-有规格，2没规格）")
    private Short goodsStatus;

    @ApiModelProperty("价格（1元=100）")
    private Integer price;

    @ApiModelProperty("图片")
    private String path;

    @ApiModelProperty("餐盒价格(1元=100)(默认0)")
    private Integer boxPrice;

    @ApiModelProperty("描述")
    private String content;

    @ApiModelProperty("商品属性集合")
    private List<ShoppingGoodsVO> shoppingGoodsList;

    @ApiModelProperty("商品规格结合")
    private List<ShoppingAttributeVo> shoppingAttributeList;
}
